package com.luhuiguo.cms.client.gin;

import com.google.gwt.core.client.GWT;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.luhuiguo.cms.client.presenter.AppPresenter;
import com.luhuiguo.gwt.presenter.client.EventBus;
import com.luhuiguo.gwt.presenter.client.place.PlaceManager;
import com.luhuiguo.gwt.security.client.gin.SpringSecuredDispatcherModule;

@GinModules({Module.class,SpringSecuredDispatcherModule.class})
public interface Injector extends Ginjector {

    public static final Injector INSTANCE = GWT.create(Injector.class);

    EventBus getEventBus();

    PlaceManager getPlaceManager();

    AppPresenter getAppPresenter();

}
